From: Jasper St. Pierre Date: Wed, 2 May 2012 20:29:51 +0000 (-0400) Subject: network: Fix an accidental copy-paste error X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6618 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a5ac183d86f9522aa71e604d255c9c04428b4fc2;p=gnome-shell.git network: Fix an accidental copy-paste error Logic swap accidentally introduced in commit 723a1c843. https://bugzilla.gnome.org/show_bug.cgi?id=672272 --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index f1ba1194f..dedd4a499 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -707,7 +707,7 @@ const NMDeviceWired = new Lang.Class({ // the device // we can do it here because addConnection and removeConnection // both call _createSection at some point - this.section.actor.visible = this._connections.length <= 1; + this.section.actor.visible = this._connections.length > 1; }, _createAutomaticConnection: function() {